@extends('Layout/personBase')

@section('title', '我的收藏')

@section('css')

		<link href="{{asset('Home/css/colstyle.css')}}" rel="stylesheet" type="text/css">

@endsection

@section('right')
	<div class="user-collection">
		<!--标题 -->
		<div class="am-cf am-padding">
			<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">我的收藏</strong> / <small>My&nbsp;Collection</small></div>
		</div>
		<hr/>

		<div class="you-like">
			
			<div class="s-content">
				
			@foreach ($goods as $v)
				<div class="s-item-wrap">
					<div class="s-item">

						<div class="s-pic">
							<a href="#" class="s-pic-link">
								<img src="{{$v->pic}}" alt="{{$v->attribute}}" title="{{$v->attribute}}" class="s-pic-img s-guess-item-img">
							@if ($v->status == 3)
							<span class="tip-title">已下架</span>
							@endif
							</a>
						</div>
						<div class="s-info">
							<div class="s-title"><a href="#" title="{{$v->attribute}}">{{$v->attribute}}</a></div>
							<div class="s-price-box">
								<span class="s-price"><em class="s-price-sign">¥</em><em class="s-value">{{$v->price}}</em></span>
							</div>
							<div class="s-extra-box">
								
								<span class="s-sales">月销: {{$v->sales}}</span>
							</div>
						</div>
						<div class="s-tp">
							<a href="{{url('/Home/cancelCollection')}}/{{$v->id}}"><span class="ui-btn-loading-before">取消收藏</span></a>
						</div>
					</div>
				</div>
			@endforeach
			</div>

		</div>

	</div>
@endsection